/*
 * @Author: daidai
 * @Date: 2022-01-12 14:05:56
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-08-07 17:12:07
 * @FilePath: \web-pc\src\pages\big-screen\main.js
 */
import "@/assets/css/index.scss";
import '@/assets/css/public.scss';
import { scrollRankingBoard, borderBox13, borderBox8,borderBox11,decoration10, capsuleChart, digitalFlop, loading } from '@jiaminghi/data-view';
// import { Avatar, Button, Checkbox, CheckboxGroup, DatePicker, Dialog, Divider, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Loading as Load, Menu, MenuItem, Message as Messa, Popconfirm, Radio, RadioGroup, Submenu, Switch, Table, TableColumn, TimePicker, TimeSelect } from 'element-ui';
import ElementUI, { Message as Messa } from 'element-ui';
import Vue from "vue";
import "vue-easytable/libs/theme-default/index.css";
import App from "./App.vue";
import Echart from './components/echart/index.vue';
import ItemWrap from './components/item-wrap/item-wrap.vue';
import Messages from './components/message/message';
import Message from './components/message/message.vue';
import Reacquire from './components/reacquire/reacquire.vue';
import router from './router';
import store from './store';

// main.js
import 'tinymce/tinymce';
import 'tinymce/icons/default';
import 'tinymce/themes/silver';
import 'tinymce/plugins/paste';
import 'tinymce/plugins/link';
import 'tinymce/plugins/image';
import 'tinymce/plugins/table';
import 'tinymce/skins/ui/oxide/skin.min.css';
import 'tinymce/skins/ui/oxide/content.min.css';
import 'tinymce/skins/content/default/content.min.css';
// import VueTinymce from "tinymce";

// import 'tinymce'

// //样式
// import 'tinymce/skins/ui/oxide/skin.min.css'
// //主题
// import 'tinymce/themes/silver'

// //插件
// import 'tinymce/plugins/link' //链接插件
// import 'tinymce/plugins/image' //图片插件
// import 'tinymce/plugins/media' //媒体插件
// import 'tinymce/plugins/table' //表格插件
// import 'tinymce/plugins/lists' //列表插件
// import 'tinymce/plugins/quickbars' //快速栏插件
// import 'tinymce/plugins/fullscreen' //全屏插件
// import 'tinymce/icons/default/icons'

// //本地化
import "./utils/tinymce/langs/zh_CN.js";

// //安装组件
// Vue.use(VueTinymce)


import * as filters from '@/directives/filters';

require('./mock/mock')//是否使用mock
Vue.config.productionTip = false;

// 自定义组件
Vue.component("Echart", Echart)
Vue.component("ItemWrap", ItemWrap)
Vue.component("Message", Message)
Vue.component("Reacquire", Reacquire)
Vue.prototype.$Message = Messages
Vue.prototype.$message = Messa
// Vue.prototype.$loading = Load

// element组件
// Vue.use(Radio);
// Vue.use(Button);
// Vue.use(RadioGroup)
// Vue.use(DatePicker)
// Vue.use(Table)
// Vue.use(TableColumn)
// Vue.use(Checkbox)
// Vue.use(CheckboxGroup)
// Vue.use(Dropdown)
// Vue.use(DropdownItem)
// Vue.use(DropdownMenu)
// Vue.use(TimePicker)
// Vue.use(TimeSelect)
// Vue.use(Switch)
// Vue.use(Form)
// Vue.use(FormItem)
// Vue.use(Input)
// Vue.use(Divider)
// Vue.use(Avatar)
// Vue.use(Menu)
// Vue.use(MenuItem)
// Vue.use(Submenu)
// Vue.use(Dialog)
// Vue.use(Popconfirm)
Vue.use(ElementUI);

// datav组件
Vue.use(loading)
Vue.use(borderBox13)
Vue.use(borderBox11)
Vue.use(borderBox8)
Vue.use(digitalFlop)
Vue.use(capsuleChart)
Vue.use(decoration10)
Vue.use(scrollRankingBoard)
// 全局数据过滤器
Object.keys(filters).forEach(k => Vue.filter(k, filters[k]));
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");